{if $page_name == "index"}
{literal}
<!-- ZOOM SLIDER --> 
<div id="zoomslider">
<div class="zoomslider_wrapper">
<div id="zoomslider_images">{/literal}

    {foreach from=$xml->link item=home_link name=links}{literal}
        
           <img class="zoomslider_image" src='{/literal}{$this_path}{$home_link->img}{literal}' link='{/literal}{$home_link->url}{literal}' />
           
    {/literal}{/foreach}
    
{literal}</div> 
<div id="overlay_bg"></div>
          
    <span id="zoomslider_controls_left" style="opacity: 1; left: 10px; "></span>
    <span id="zoomslider_controls_right" style="opacity: 1; right: 10px; "></span>

</div>   
</div>
<!-- SLIDER -->
{/literal}
{/if}